<include file="Public:header" />
<!--主体内容-->
<!--左边-->
<div class="centent_box">
    <include file="Public:left" />
    <!--右边-->
    <div class="centent_right_box">
        <div class="centent_right rightCon">

            <div class="Mtitle">
                <ul>
                    <li class="on" onclick="swit (this, 'all')"><span>人员列表</span></li>
                    <li class="" onclick="swit (this, 'check')"><span>待审核列表</span></li>
                </ul>
            </div>
            <div class="table all">
                <table class="tab_list">
                    <tr>
                        <th style="width: 15%">帐号</th>
                        <th style="width: 20%">邮箱</th>
                        <th style="width: 15%">注册时间</th>
                        <th style="width: 10%">可用积分</th>
                        <th style="width: 10%">可用余额</th>
                        <th style="width: 10%">冻结余额</th>
                        <th style="width: 10%">所属分类</th>
                        <th style="width: 10%">操作</th>
                    </tr>
                    <volist name="all_user['list']" id='vo'>
                        <tr>
                            <td>{$vo.username}</td>
                            <td>{$vo.email}</td>
                            <td>{$vo.reg_time|date='Y-m-d',###}</a></td>
                            <td>{$vo.point}</td>
                            <td>{$vo.blance}</td>
                            <td>{$vo.freeze}</td>
                            <td>{$vo.cname}</td>
                            <td class="dn">
                                <a href="{:U('Examine/edit',array('id'=>$vo['id']))}">编辑</a><span>|</span>
                                <a href="{:U('Examine/del',array('id'=>$vo['id']))}">删除</a>
                            <td>
                        </tr>
                    </volist>
                </table>
                <div class="page">
                    {$all_user.page}
                </div>
            </div>
            <div class="table check table-hide">
                <table class="tab_list">
                    <tr>
                        <th style="width: 15%">帐号</th>
                        <th style="width: 20%">邮箱</th>
                        <th style="width: 15%">注册时间</th>
                        <th style="width: 10%">可用积分</th>
                        <th style="width: 10%">可用余额</th>
                        <th style="width: 10%">冻结余额</th>
                        <th style="width: 10%">所属分类</th>
                        <th style="width: 10%">操作</th>
                    </tr>
                    <volist name="check_user.list" id='vo'>
                        <tr>
                            <td>{$vo.username}</td>
                            <td>{$vo.email}</td>
                            <td>{$vo.reg_time|date='Y-m-d',###}</a></td>
                            <td>{$vo.point}</td>
                            <td>{$vo.blance}</td>
                            <td>{$vo.freeze}</td>
                            <td>{$vo.cname}</td>
                            <td class="dn">
                                <a href="{:U('Examine/edit',array('id'=>$vo['id']))}">编辑</a><span>|</span>
                                <a href="{:U('Examine/del',array('id'=>$vo['id']))}">删除</a>
                            <td>
                        </tr>
                    </volist>
                </table>
                <div class="page">
                    {$check_user.page}
                </div>
            </div>

        </div>
    </div>
</div>
<script>
    function swit (tar, id){
        $(tar).addClass('on');
        $(tar).nextAll('li').removeClass('on');
        $(tar).prevAll('li').removeClass('on');
        $('.table').addClass('table-hide');
        $('.'+id).removeClass('table-hide');
    }
</script>
<include file="Public:footer" />